<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台登陆</title>
<style>
body{font-size:12px;}
#login{width:700px;height:337px;margin:118px auto;background:pink;text-align:center;}
#login form{height:120px;margin-top:40px;}
#login form dl{margin:0 0 0 285px;padding-top:100px;}
#login dd{height:40px;margin-top:0px;}
#login dd label{float:left;width:60px;margin-top:3px;font-size:13px;}
#login dd input{width:150px;float:left;background: none ;border: medium none;}
#login dd input#sub{width:105px;height:30px;margin:-1px 55px;background:none;border:none;text-indent:-1000px;}
#login dd input#verify{width:90px;}
#login dd #yzm-img{padding-right:140px;}
#login dd #yzm-tip{position:absolute;left:230px;}
#login dd span{color:#f40;font-size:12px;margin-right:65px;}
</style>
</head>
<body style="background:#4593ff url(__PUBLIC__/admin/images/loginbg.png) repeat-x scroll 0 0 ;">
<div id="login" style="background:url(__PUBLIC__/admin/images/admin_logo.png) no-repeat top center;"> 
	<form method="post"  action="__URL__/checkLogin">
		<dl>
			<dd><label for="username"></label><input type="text"  id="username" name="username"><if condition="$err_username eq 1"><span>用户名错误</span></if></dd>
			<dd><label for="password"></label><input type="password"  id="password" name="password"><if condition="$err_password eq 1"><span>密码错误</span></if></dd>
			<if condition="$use_yzm eq 1"> 
			<dd>
				<label for="verify"></label><input type="text"  id="verify" name="verify">
				<img src="__APP__/Index/verify" onclick="show(this)"/><if condition="$err_yzm eq 1"><p><span>验证码错误<span></p></if>
			</dd>
			</if>
			<dd style="position:relative;">
				<label for="verify"></label><input type="text"  id="verify" name="verify">
				<img src="__APP__/Public/verify" onclick="show(this)"/ id="yzm-img"><if condition="$err_yzm eq 1"><span id="yzm-tip">验证码错误<span></if>
			</dd>
			<dd>
			<input type="submit" value="提交" name="sub" id="sub"></dd>
		</dl>
		<script>
			function show(obj){
						obj.src="__APP__/Public/verify/random/"+Math.random();
				
			}
		
		</script>
	</form>
</div>
</body>
</html>